package com.open.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.open.system.dao.LoanSignTemplateDao;
import com.open.system.domain.LoanSignTemplateDO;
import com.open.system.service.LoanSignTemplateService;



@Service
public class LoanSignTemplateServiceImpl implements LoanSignTemplateService {
	@Autowired
	private LoanSignTemplateDao loanSignTemplateDao;
	
	@Override
	public LoanSignTemplateDO get(Long id){
		return loanSignTemplateDao.get(id);
	}
	
	@Override
	public List<LoanSignTemplateDO> list(Map<String, Object> map){
		return loanSignTemplateDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return loanSignTemplateDao.count(map);
	}
	
	@Override
	public int save(LoanSignTemplateDO loanSignTemplate){
		return loanSignTemplateDao.save(loanSignTemplate);
	}
	
	@Override
	public int update(LoanSignTemplateDO loanSignTemplate){
		return loanSignTemplateDao.update(loanSignTemplate);
	}
	
	@Override
	public int remove(Long id){
		return loanSignTemplateDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return loanSignTemplateDao.batchRemove(ids);
	}
	
}
